A federal judge yesterday ruled that Google Inc. must turn over a YouTube logging database containing 12TB of data that includes user log-in IDs, IP addresses and video viewing habits to Viacom ...