; and (2) (A) a covered court order has been obtained to allow the use of facial recognition technology for ongoing surveillance of the individual or group of individuals; or (B) an investigative or law enforcement officer— (i) reasonably determines that exigent circumstances and compelling law enforcement needs make it impractical to obtain a covered court order; (ii) reasonably determines that there are grounds for which a covered court order could be obtained under subparagraph (A); and (iii) causes an application for a covered court order to be made in accordance with subparagraph (A) not later than 48 hours after the use of facial recognition technology to engage in ongoing surveillance. (b) Requirement If an application for a covered court order made under subsection (a)(2)(B) is denied, the use of facial recognition technology shall terminate at the time of the denial. (c) Duration of orders (1) In general Subject to paragraph (2), a covered court order may only authorize ongoing surveillance until the date on which the objective of the order is satisfied, except that such order may not authorize ongoing surveillance for a period of longer than 30 days. (2) Requirement The 30-day period described in paragraph (1) shall begin on the earlier of— (A) the date on which the agency begins to use facial recognition technology