; (4) in subsection (d), by striking (d) The management and inserting the following: (d) Recordkeeping The management ; and (5) in subsection (e), by striking (e) For purposes of and inserting the following: (e) Right of inspection For purposes of . (b) Unlawful acts Section 5 of the Horse Protection Act ( 15 U.S.C. 1824 ) is amended— (1) by striking the section designation and all that follows through The following in the matter preceding paragraph (1) and inserting the following: 5. Prohibited conduct The following ; (2) in paragraph (3), by striking appoint and retain a person in accordance with section 4(c) of this Act and inserting have a formal affiliation with the Horse Industry Organization ; (3) in paragraph (4), by striking appoint and retain a qualified person in accordance with section 4(c) of this Act and inserting have a formal affiliation with the Horse Industry Organization ; (4) in paragraph (5), by striking appointed and retained a person in accordance with section 4(c) of this Act and inserting a formal affiliation with the Horse Industry Organization ; and (5) in paragraph (6)— (A) by striking appointed and retained a person in accordance with section 4(c) of this Act and inserting a formal affiliation with the Horse Industry Organization ; and (B) by striking such person or the Secretary and inserting a person licensed by the Horse Industry Organization . 5. Rulemaking Not later than 180 days after the date of enactment of this Act, the Secretary of Agriculture shall issue regulations to carry out the amendments made by this Act.