; and (IV) any use of such queried communications pursuant to section 706 will be carried out in accordance with such section; and (ii) an order of the judge approving such application. (B) Relevance and supervisory approval to access noncontents information Except as provided by subparagraph (C), in response to a query for evidence of a crime, the information of queried communications acquired under subsection (a) relating to the dialing, routing, addressing, signaling, or other similar noncontents information may be accessed or disseminated only upon a determination by the Attorney General that— (i) such queried communications are relevant to an authorized investigation or assessment, provided that such investigation or assessment is not conducted solely on the basis of activities protected by the first amendment to the Constitution of the United States; and (ii) any use of such queried communications pursuant to section 706 will be carried out in accordance with such section. (C) Exceptions The requirement for an order of a judge pursuant to subparagraph (A) and the requirement for a determination by the Attorney General under subparagraph (B), respectively, shall not apply to accessing or disseminating queried communications acquired under subsection (a) if one or more of the following conditions are met: (i) Such query is reasonably designed for the primary purpose of returning foreign intelligence information. (ii) The Attorney General makes the determination described in subparagraph (A)(i) and— (I) the person related to the queried term is the subject of an order or emergency authorization that authorizes electronic surveillance or physical search under this Act or title 18, United States Code