; and (2) accompany such request or requirement with the valid reason for the request or requirement, as described in subsection (b)(2). (d) Customer notice (1) Notice required Except as provided in paragraph (2), or as otherwise prohibited from disclosure by law, if an appropriate Federal banking agency requests or requires a depository institution to terminate a deposit account under subsection (b), the depository institution shall notify in writing the specific customer or group of customers, the deposit account of which is being terminated, of the valid reason for that termination, as determined under subsection (b)(2). (2) Notice prohibited (A) Notice prohibited in cases of national security and law enforcement investigations (i) In general Neither a depository institution nor an appropriate Federal banking agency may provide the applicable customer or group of customers with the notice required under paragraph (1) if— (I) a Federal law enforcement agency or an element of the intelligence community advises the depository institution or the appropriate Federal banking agency that the notice— (aa) may interfere with a matter of national security; (bb) involves a matter described in subsection (b)(2)(B); or (cc) may interfere with a law enforcement investigation, criminal prosecution, or civil action brought by a government agency