This comparison is stupid. Corporate registration is explicitly public information. Librarians are notorious for the fervency with which they protect the personal information of library patrons.
Irrelevant, but even if I humor you: The PATRIOT act does not require libraries collect any more personal information than the government already has. The comparison is utterly meaningless.