The decade-old legal battle over Google Inc.’s massive digital books project may finally be headed to the U.S. Supreme Court, setting up a first-ever matchup between two high court veterans.

As affiliate New York Law Journal reports, the U.S. Court of Appeals for the Second Circuit on Friday affirmed that the Google Books full-text scanning and search service provides a public benefit, while also staying on the right side of copyright law. Google, which has scanned some 25 million books to date, has been fighting copyright claims related to its digital library project since 2005, when it was sued by a coalition of writers led by the Authors Guild. (See previous American Lawyer coverage here, here and here.)