And they would risk being completely shut down, I assume. Is that a better option? I'm not even talking about the livelihood of the librarians, but about the loss of the public service.
As long as they are digitally storing/processing PII, I would say yes. If they can't reasonably guarantee the security of such information, they should simply shut down their online presence.