The Australian parliament on Thursday passed a new law designed to force Facebook and Google to pay media companies for content used on their platforms in reforms that could be replicated in other countries. Australia will be the first country where a government arbitrator will decide the price to be paid by the tech giants if commercial negotiations with local news outlets fail. The legislation was watered down, however, at the last minute after a standoff between the government and Facebook culminated in the social media company blocking all news for Australian users. Subsequent amendments to the bill included giving the government the discretion to release Facebook or Google from the arbitration process if they prove they have made a "significant contribution" to the Australian news industry. Some lawmakers and publishers have warned that could unfairly leave smaller media companies out in the cold, but both the government and Facebook have claimed the revised legislation as a win. "The code will ensure that news media businesses are fairly remunerated for the content they generate, helping to sustain public-interest journalism in Australia," Treasurer Josh Frydenberg and communications minister Paul Fletcher said in a joint statement on Thursday. Rod Sims, the competition regulator who drafted the code, said he was happy that the amended legislation would address the market imbalance between Australian news publishers and the two gateways to the internet. “All signs are good,” Mr Sims said. “The purpose of the code is to address the market power that clearly Google and Facebook have. Google and Facebook need media,” the Australian Competition and Consumer Commission chair added. The legislation was designed to curb the outsized bargaining power of Facebook and Google in their negotiations with Australian news providers. Chris Moos, a lecturer at Oxford University’s Business School, said the legislation would likely result in small payouts for most Australian news publishers. But he warned Facebook could again block Australian news if negotiations broke down. In the case of a standoff between the tech companies and news publishers, an arbitration panel would make a binding decision on a winning offer. The progress of the legislation has been closely watched around the world as countries including Canada and Britain consider similar steps to rein in the dominant tech platforms. The revised code, which also includes a longer period for the tech companies to strike deals with media companies before the state intervenes, will be reviewed within one year of its commencement, the statement said. It did not provide a start date. The legislation does not specifically name Facebook or Google. Mr Frydenberg said earlier this week he will wait for the tech giants to strike commercial deals with media companies before deciding whether to compel both to do so under the new law. Google has struck a series of deals with publishers, including a global content arrangement with News Corp, after earlier threatening to withdraw its search engine from Australia over the laws. Several media companies, including Seven West Media, Nine Entertainment and the Australian Broadcasting Corp have said they are in talks with Facebook.