Libgen and SciHub are key parts of open access and free society, thank you for bringing them up!
The 'illegitimate' library work is extremely important to protect - heroes like Rogue Archivist Carl Malamud https://en.wikipedia.org/wiki/Carl_Malamud trying to keep our laws readable are protecting the foundations of our freedom.