As the White House legal counsel , Mr. Gonzales wrote a January 2002 memo advising Mr. Bush that prisoner of war protections in the Geneva Convention were " rendered obsolete " by the U.S.-led war on terror .