We need a law in Canada that simply bans any government facility from using American products for key infrastructure.
No X-the-Nazi-Bar, no Farcebook, no Instacrap, no Goofle, no nothing. At first shifting to saner nations as a temporary measure is acceptable: EU-based companies. It has to come attached to a timeline, however, where the Canadian government uses 100% Canadian technology. Say 15 years to make the shift.
The same applies to military equipment: nothing American-made within 15 years.