The bill includes a new regulator and sweeping measures to curtail "harmful content" online.