The legislation would insert the government into online platforms' age-verification efforts\u2014a move that makes some US lawmakers queasy.