Top prosecutors in blue and blue-leaning states have spent months preparing to battle the incoming administration in court.