Vietnam’s top security official To Lam was confirmed Wednesday as the nation's new president. He oversaw police and intelligence operations over a period when rights groups say basic liberties have been systematically suppressed, and its secret service was accused of violating international law.