(3) Conforming amendments Section 702(f) (50 U.S.C. 1881a(f)) is further amended as follows:
(A) In paragraph (3), by striking subparagraph (A).
(B) By redesignating the second paragraph (2) (relating to Prohibition on conduct of queries that are solely designed to find and extract evidence of a crime) as subparagraph (A) (and redesignating the subordinate provisions accordingly) and transferring such subparagraph so as to appear in paragraph (3) before subparagraph (B) of such paragraph.
(C) In paragraph (3)(B)(ii), as so redesignated, by striking under subparagraph (A) and inserting under clause (i).
(b) Metadata; datasets Section 702(f) (50 U.S.C. 1881a(f)) is further amended—
(1) by redesignating paragraph (5) as paragraph (8) and moving such paragraph so as to appear at the end;
(2) by redesignating paragraph (6) as paragraph (5); and
(3) by inserting before paragraph (8), as so redesignated, the following new paragraphs:
(6) Prohibition on results of metadata query as a basis for access to communications and other protected information If a query of information acquired under this section is conducted in an effort to find communications metadata of 1 or more United States persons the results of the query shall not be used as a basis for reviewing communications or information a query for which is otherwise prohibited under this section.
(7) Federated datasets The prohibitions and requirements in this section shall apply to queries of federated and mixed datasets that include information acquired under this section, unless a mechanism exists to limit the query to information not acquired under this section..