It’s actually a provincial act, which I find even funnier because it means each province legislated the protection separately. Here’s a few of them:
Ontario - Apology Act (2009) B.C. - Apology Act (2006) Manitoba - The Apology Act (Bill 202) Quebec - Article 2853.1 of the Civil Code of Québec Alberta - section 26(1) of Bill 30 (Evidence Amendment Act (2008))