For Mr. Katzenberg, "Tibet Code" is the product of a business quest that began two years ago when he fired off an email to an executive at the Shanghai Media Group, an ambitious broadcasting group owned by the government of China's commercial capital.