Legislation is being introduced at a record pace as growing public opposition to data centers drives more proposals to restrict the tech giants.