One woman's personal experience of being targeted with the technology helped create the law, which goes into effect Aug. 1.