The new rules would force online platforms to cooperate with law enforcement and erase content authorities deem unlawful.