The bill passed by 74-39 and 30-13 margins in the state house and senate before Gov. Henry McMaster signed it into law.