; and (ii) in the case of an animal held by a research facility, is no longer required by the research facility to carry out the research, test, or experiment for which the animal has been utilized. . (d) Searchable database requirements Section 788 of the Agriculture, Rural Development, Food and Drug Administration, and Related Agencies Appropriations Act, 2020 ( 7 U.S.C. 2146a ), is amended— (1) in subsection (b)— (A) by striking three each place it appears and inserting 3 ; (B) in the matter preceding paragraph (1), by striking without redactions except signatures, the following records: and inserting without redactions (except for signatures)— ; (C) in paragraph (1), by striking (1) all final and all that follows through inventories and inserting the following: (A) each final inspection report under the Animal Welfare Act ( 7 U.S.C. 2131 et seq. ), including— (i) each report documenting a violation of, or instance of noncompliance with, any provision of that Act observed by an official of the Department of Agriculture; (ii) any images relating to a violation or instance of noncompliance described in clause (i) that has caused or permitted any pain, suffering, injury, or death to an animal; and (iii) each animal inventory ; (D) in paragraph (2), by striking (2) all final Animal Welfare Act and Horse Protection Act enforcement records and inserting the following: (B) each final enforcement record under the Animal Welfare Act ( 7 U.S.C. 2131 et seq. ) and the Horse Protection Act ( 15 U.S.C. 1821 et seq. ) ; (E) in paragraph (3)— (i) by striking non-compliances observed by USDA officials and inserting instances of noncompliance observed by an official of the Department of Agriculture, including any images relating to such a violation or instance of noncompliance that has caused or permitted any pain, suffering, injury, or death to an animal, ; and (ii) by striking (3) all reports or other materials and inserting the following: (C) each report and other material