No. The bills as written do not violate any federal copyright law. They are bills that firmly ground the library ebook contracts under existing state law. They ensure that the library ebook licenses are more reflective of the special mission libraries have to provide access to ebooks to the public. The bills do not affect any other ebook licenses that are offered to the public; they are unique to libraries since their special mission is one of access, preservation, and equity.
States have the power to regulate all types of contracts - that’s why most states already have contract and licensing laws that are incorporated by reference into the ebooks bills. Existing laws about consumer protection, contract regulation, and the Uniform Commercial Code are often already part of state law.
The bill does not force the publishers to sell (see below); it merely states that if the publishers want to conduct ebooks business in the state they have to follow the state's law developed for library ebooks. If the publishers choose to have terms that do not reflect the library mission, then they miss the benefit of the state’s or library's purchasing power. This does not violate publishers’ rights in any way, as it is merely using consumer protection and other laws the way the legislature intended them to be used. These types of laws do not violate the rights of companies that they regulate.
In this way, the bill is very similar to some of the net neutrality laws that have been developed in many states. Under those laws, if the internet service providers want to do business in the state, they have to comply with the net neutrality principles adopted under that state’s law. This is just one of many examples of how states can help regulate unfair contracts in service of the public - and in this case, the public benefit is for libraries to have fair and equitable contracts.