Ask your Solicitor to apply for Legal aid on your behalf, this will eradicate the need for you to apply for any loans. The Legal services commision who grant legal aid on financial grounds can recover the money which it spends on a case from the property which is recovered by a successful legally aided client.
This is particularly applicable in matrimonial cases and is probably the reason for the availability of Legal Aid in matrimonial cases, where the Legal services commission is reasonably certain of recovering what it spends. Repayment can, and very often is, deferred by the Legal services commission placing a charge (which bears interest, as indeed a loan would) on the property, such as a house, therefore you pay the legal aid bill back from the equity released once the house is sold.