; and (ii) the court finds there is reasonable cause to believe that the respondent poses a danger of causing harm to himself, herself, or others in the near future by having access to a firearm. (B) Length of ex parte extreme risk protection order An ex parte extreme risk protection order shall be in effect for a period not to exceed 30 days, unless continued for good cause. (5) Storage of removed firearms All firearms removed or surrendered pursuant to an extreme risk protection order shall be retained by a law enforcement officer or a law enforcement agency until the named individual regains his or her eligibility to possess firearms, except that the legislation may authorize a law enforcement agency to— (A) contract with a manufacturer, dealer, or importer licensed under chapter 44 of title 18, United States Code, for the secure storage of firearms; and (B) transfer the firearm upon proof that the named individual will no longer have access to the firearm. (6) Notification (A) In general A State or tribal court that issues an extreme risk protection order shall notify the Department of Justice or the comparable State or Tribal agency, as applicable, of the order as soon as practicable. Such notice shall be submitted in an electronic format, in a manner prescribed by the Department of Justice or the comparable State or Tribal agency. (B) Update of databases As soon as practicable after receiving a notification under subparagraph (A), the Department of Justice or the comparable State or Tribal agency shall ensure the extreme risk protection order is reflected in the National Instant Criminal Background Check System. (7) Confidentiality protections All personally identifiable information provided to the court, the Department of Justice, and comparable State or Tribal agencies shall be kept confidential, except as necessary to carry out the legislation. (b) Additional authorities Legislation described in this section may— (1) provide procedures for the termination of an extreme risk protection order