Google keeps code but Viacom gets YouTube user data