; (2) communications to or from an unmanned aircraft system or unmanned aircraft are intercepted or acquired only to the extent necessary to support an action described in subsection (c); (3) records of such communications are maintained only for as long as necessary, and in no event for more than 180 days, unless the Director determines that maintenance of such records for a longer period is required under Federal law or necessary for the investigation or prosecution of a violation of law, to fulfill a duty, responsibility, or function of the Agency, or for the purpose of any litigation; (4) such communications are not disclosed outside the Agency unless the disclosure— (A) is necessary to investigate or prosecute a violation of law; (B) would support the Agency, the Department of Defense, a Federal law enforcement, intelligence, or security agency, or a State, local, tribal, or territorial law enforcement agency, or other relevant person or entity if such entity or person is engaged in a security or protection operation; (C) is necessary to support a department or agency listed in subparagraph (B) in investigating or prosecuting a violation of law; (D) would support the enforcement activities of a regulatory agency of the Federal Government in connection with a criminal or civil investigation of, or any regulatory, statutory, or other enforcement action relating to, an action described in subsection (c) that is necessary to fulfill a duty, responsibility, or function of the Agency; (E) is necessary to protect against dangerous or unauthorized activity by unmanned aircraft systems or unmanned aircraft; (F) is necessary to fulfill a duty, responsibility, or function of the Agency