; and (2) respond rapidly to assess, stabilize, repair, recover, or restore a coral reef that is destroyed or injured, or that has lost an ecosystem function; (3) remove or stabilize a vessel grounded on or in the vicinity of a coral reef; and (4) otherwise provide for rapid response to, assessment of, or monitoring of an emergency pertaining to a coral reef or coral reef ecosystem. (c) Written agreements The Secretary may enter into written agreements with any State in which a coral reef is located regarding the manner in which the activities authorized under this section shall be conducted within the affected State’s waters. Nothing in this subsection shall be construed to limit Federal response and restoration activity authority before any such agreement is final. (d) Cooperative enforcement agreements All cooperative enforcement agreements in place between the Secretary and a State affected by this title shall be updated to include enforcement of this title where appropriate. (e) Damage and cost assessment In carrying out this section, the Secretary shall assess damages to coral reefs and applicable response and restoration costs in consultation with State officials regarding response and damage assessment actions undertaken for coral reefs within State waters. The Secretary shall make such assessments, including any related data and information, readily available to the public on a government Internet website upon completion of such assessments. (f) Definition of appropriate Federal official In this section, the term appropriate Federal official means— (1) the Secretary of Commerce, acting through the Administrator of the National Oceanic and Atmospheric Administration, with respect to any coral reef or component thereof in— (A) any unit of the National Marine Sanctuary System; (B) any unit of the National Estuarine Research Reserve System