The bill, which differs from the version that ultimately failed in 2023, now heads to the Texas House of Representatives.