; or (IV) the query is necessary to identify information that must be produced or preserved in connection with a litigation matter or to fulfill discovery obligations in a criminal matter under the laws of the United States or any State thereof. (3) Documentation No officer or employee of the United States may access communications content, or information the compelled disclosure of which would require a probable cause warrant if sought for law enforcement purposes inside the United States, returned in response to a covered query unless an electronic record is created that includes a statement of facts showing that the access is authorized pursuant to an exception specified in paragraph (2)(B)(i). (4) Query record system The head of each agency that conducts queries shall ensure that a system, mechanism, or business practice is in place to maintain the record described in paragraph (3). Not later than 90 days after the date of enactment of the SAFE Act , the head of each agency that conducts queries shall report to Congress on its compliance with this procedure. . (d) Conforming amendments (1) Section 603(b)(2) of the Foreign Intelligence Surveillance Act of 1978 ( 50 U.S.C. 1873(b)(2) ) is amended, in the matter preceding subparagraph (A), by striking , including pursuant to subsection (f)(2) of such section, . (2) Section 706(a)(2)(A)(i) of the Foreign Intelligence Surveillance Act of 1978 ( 50 U.S.C. 1881e(a)(2)(A)(i) ) is amended by striking obtained an order of the Foreign Intelligence Surveillance Court to access such information pursuant to section 702(f)(2) and inserting accessed such information in accordance with section 702(b)(2) . 102. Quarterly reports Section 707 of the Foreign Intelligence Surveillance Act of 1978 ( 50 U.S.C. 1881f ) is amended by adding at the end the following: (c) Quarterly reports The Attorney General, in consultation with the Director of National Intelligence, shall submit to the congressional intelligence committees, the Committee on the Judiciary of the Senate, and the