The Senate passed two key pieces of legislation aimed at keeping children safe on the internet Tuesday afternoon.