New law will allow technology to be examined and ensure tools have safeguards to stop creation of material