Donald Trump's lawyers argued that allowing the prosecution of a former president would open a "Pandora's box."