Well, well. It seems that public outcry (and outrage) can overturn bad court decisions. Viacom no longer insists on getting the IPs and other data which can identify individuals that watched the videos on YouTube. Instead, the data will be substituted with equally unique data which cannot be used to identify anyone. Here's the quote from the legal document:
"When producing data from the Logging Database pursuant to the Order, Defendants shall substitute values while preserving uniqueness for entries in the following fields: User ID, IP Address and Visitor ID. The parties shall agree as promptly as feasible on a specific protocol to govern this substitution whereby each unique value contained in these fields shall be assigned a correlative unique substituted value, and preexisting interdependencies shall be retained in the version of the data produced."