He didn't access it intentionally, and as broad as "protected computer" is, it's hard to say that a public library computer has a role in interstate commerce. I think he's fine.
(a)(2) is the relevant clause, I think: https://www.law.cornell.edu/uscode/text/18/1030