@icecolbeveridge @thomasfuchs I didn't think that's how libraries conventionally work? For physical books in the US anyway. ebook loans and other countries may work differently.
The US in particular has a fairly strong "first sale doctrine" allowing modification, sale, loan, etc. of books and such as long as you don't make a copy. But that's pretty much gone away in the digital era.