With online scam losses running into billions and growing concern over child safety, the new law shifts responsibility onto digital platforms.