The bill is sponsored by the U.S. Department of Defense, and nine other states have similar legislation in place already.