The Marriott breach—the latest of many mega-breaches—inspired some lawmakers to push for new privacy legislation.

The world's largest hotel chain was hacked and some lawmakers are not happy.

The Marriott breach affected 500 million hotel guests and put their personal information at risk that includes credit numbers, passport numbers, mailing addresses, email addresses and phone numbers. The company discovered the hack on Sept. 8 and announced it to the public on Nov. 30.

"We must pass laws that require data minimization, ensuring companies do not keep sensitive data that they no longer need," Sen. Mark Warner D-Va, cofounder of the Cybersecurity Caucus said. "And it is past time we enact data security laws that ensure companies account for security costs rather than making their consumers shoulder the burden and harms resulting from these lapses."