Wouldn't a some kind of technical standard proposal be a more sensible way to do this than trying to pass OS laws state by state?

iOS (for example) already has that technical standard in place and usable.