Except as provided in this section, no person may install or use a pen register or a trap and trace device without first obtaining a court order under
section 3123 of this title or under the Foreign Intelligence Surveillance Act of 1978 (
50 U.S.C. 1801 et seq.) or an order from a foreign government that is subject to an executive agreement that the Attorney General has determined and certified to Congress satisfies section 2523.