The legislation follows a similar law set to take effect in D.C. this fall, as speed-limiting technology becomes more widespread.