This has nothing to do with the OP / what library books were read. The
library certainly does know what you read. Likewise, Google and even real people at Google may know what you watched. But that's not surprising. It's to be expected.
The real comparison is if Google gave that information, de-anonymized, to advertisers. Then there would be an issue.