The (relevant parts of the) legislation haven't come into force yet - most of the sections of the Online News Act don't come into force until the "a day to be fixed by order of the Governor in Council". Facebook is preemptively complying with the law before it's brought into force, but Google is waiting until it actually comes into effect (https://blog.google/intl/en-ca/company-news/outreach-initiat...).