; (II) penal, detention, and correctional operations conducted by the Federal Bureau of Prisons considered to be high-risk or assessed to be a potential target for unlawful unmanned aircraft activity; or (III) protection of the buildings and grounds leased, owned, or operated by or for the Department of Justice identified as essential to the function of the Department of Justice, and the provision of security for Federal courts, as specified in section 566(a) of title 28, United States Code; and (iii) a mission authorized to be performed by the Department of Homeland Security or the Department of Justice, acting together or separately, consistent with governing statutes, regulations, and orders issued by the Secretary or the Attorney General, respectively, relating to— (I) National Special Security Events and Special Event Assessment Rating events; (II) upon the request of a State’s governor or attorney general, providing support to State, local, or tribal law enforcement to ensure protection of people and property at mass gatherings, where appropriate and within available resources; (III) active Federal law enforcement investigations, emergency responses, or security operations; or (IV) in the event that either the Department of Homeland Security or the Department of Justice has identified a national security threat against the United States and the threat could involve unlawful use of an unmanned aircraft, responding to such national security threat. (4) The terms electronic communication , intercept , oral communication , and wire communication have the meaning given those terms in section 2510 of title 18, United States Code. (5) The term homeland security or justice budget materials , with respect to a fiscal year, means the materials submitted to Congress by the Secretary and the Attorney General in support of the budget for that fiscal year. (6) For purposes of subsection (a), the term personnel means— (A) officers and employees of the Department of Homeland Security or the Department of Justice