Australia's Parliament on Wednesday passed online safety laws that could expose tech giants to multibillion-dollar fines for failing to prevent foreseeable online harms.

The United States and the Australian opposition party warned that the legislation would lead to censorship of lawful speech.

The Digital Duty of Care Act requires Big Tech to proactively reduce the risk of harm before it occurs, according to an Australian government statement.