Unfortunately, legal fees of this nature were eliminated as a deduction under the new tax laws.
If they were paid prior to 2018, they could have been deducted as an itemized deduction.
For more information, follow this link: Misc Deductions 2018