Two Republicans, plus more than two dozen cosponsors, backed a bill that would force pornography sites to start checking IDs.