Laws don't really work, though. By the time you get to the point of making laws to change how people behave, you've already failed in designing a workable system. It's basically the last resort when you can't fix the actual problem, you just forbid it because that's all you have left. Laws are better than no regulation at all, but you will never stop distracted driving with laws. People ignore them and think it doesn't apply to them, and enforcement is never going to be all that easy.
It has to be stopped with something like a mandatory function making phones shut down for everything except calling 911 as soon as they're moving over 10 mph on a public road. Talking on the phone, even with a headseat, is also distracted driving and shouldn't be possible either.
Real solutions to problematic behavior is to make the problematic behavior impossible, and you pretty much always can. It may just require radical solutions. For instance, preventing traffic accidents is easy. You just have to be ready to scrap all roads and build automated elevated maglev PRT systems instead. Accidents should be nearly zero, and everything would be faster and more convenient. But, as I said, you need to actually solve it with good technology and processes. Not just try to make a law that bans car accidents, or behavior leading to accidents. That will never work, and can never work, at best it can mildly mitigate the worst of it.