; and (B) by inserting obtained by the individual while the individual was a covered person and acting within the scope of his or her activities as a covered person after any classified information ; and (2) in subsection (b), by inserting after paragraph (3), as so designated and transferred by subsection (b) of this section, the following: (4) The term covered person means an individual who— (A) receives official access to classified information granted by the United States Government; (B) signs a nondisclosure agreement with regard to such classified information; and (C) is authorized to receive information of the categories set forth in subsection (a) of this section— (i) by the President; or (ii) the head of a department or agency of the United States Government which is expressly designated by the President to engage in communication intelligence activities for the United States. . (d) Limitation on scope Section 798 of title 18, United States Code, is amended— (1) by redesignating subsection (d) as subsection (e); and (2) by inserting after subsection (c) the following: (d) (1) In this subsection, the term foreign agent — (A) has the meaning given the term agent of a foreign power under section 101 of the Foreign Intelligence Surveillance Act of 1978 ( 50 U.S.C. 1801 ); and (B) does not include a person who is an agent of a foreign power (as so defined) with respect to a foreign power described in section 101(a)(5) of the Foreign Intelligence Surveillance Act of 1978 ( 50 U.S.C. 1801(a)(5) ). (2) A foreign agent who— (A) aids, abets, counsels, commands, induces, or procures the commission of an offense under this section shall be subject to prosecution under this section by virtue of section 2 of this title; (B) knowing that an offense under this section has been committed by another person, receives, relieves, comforts, or assists such other person in order to hinder or prevent the apprehension, trial, or punishment of such other person shall be subject to prosecution under section 3 of this title