Bill marks first effort by Congress in decades to hold tech companies more accountable for content that endangers children and teens.