(a) In General.—Whoever knowingly—
(1) directly or indirectly, corruptly gives, offers, or promises anything of value to any public or private person, with intent to commit international terrorism or domestic terrorism (as those terms are defined under section 2331), to—
influence any action or any person to commit or aid in committing, or collude in, or allow, any fraud, or make opportunity for the commission of any fraud affecting any secure or restricted area or seaport; or
induce any official or person to do or omit to do any act in violation of the lawful duty of such official or person that affects any secure or restricted area or seaport; or
(2) directly or indirectly, corruptly demands, seeks, receives, accepts, or agrees to receive or accept anything of value personally or for any other person or entity in return for—
being influenced in the performance of any official act affecting any secure or restricted area or seaport; and
shall be fined under this title or imprisoned not more than 15 years, or both.