(a) Except as otherwise provided in subsection (b) of this section:
(1) any proceeds or other benefits of a derivative action to enforce a right of a mutual benefit enterprise, whether by judgment, compromise, or settlement, belong to the enterprise and not to the plaintiff; and
(2) if the plaintiff in the derivative action receives any proceeds, the plaintiff shall immediately remit them to the enterprise.
(b) If a derivative action to enforce a right of a mutual benefit enterprise is successful in whole or in part, the court may award the plaintiff reasonable expenses, including reasonable attorney’s fees and costs, from the recovery of the enterprise.