Global internet giant Google has struck a deal with one of Australia's largest media companies to pay for its content ahead of a proposed Government code to force tech giants Google and Facebook to pay news organisations for content they display in search results and feeds.