The bills, called the Kids Online Safety Act and the Children and Teens Online Privacy Protection Act, have been years in the making as advocates have argued there needs to be more guardrails for children and teens on social media.