He once boasted of being Donald Trump’s “protector” but now he is testifying to lying for Trump’s benefit, including about payments made to an adult film star ahead of the 2016 election.