A US court has ruled that Google must provide Viacom with details of users who have watched YouTube videos