; 107 Stat. 1536) (or an amendment made by that Act), or for homeland security or national security purposes, if— (i) the information is requested by the Federal, State, Tribal, or local law enforcement agency, intelligence agency, national security agency, component of the Department of Homeland Security, court, or grand jury; and (ii) the provision of the information is consistent with an information sharing agreement or mechanism