The ex-president's attorney says Mr Trump will plead not guilty and challenge the case's "legal viability".