A bill named for a child killed by drugs from Snapchat would force tech companies to open up for safety software