The first public libraries ever dates to at least the 4th century BCE, with one known instance begun by Clearchus in Heraclea, on what is now the Black Sea coast of Turkey.
TBH, I wasn't certain of that either, which was why I'd looked up the background. I'd be surprised if there weren't some common-law precedent or foundation cited in Straus, and should look that up.
Michael Geist might be a good source to look to for specifics of Canadian law, though AFAIU the Canadian royalties programme is defined under Public Lending Right: