If the court orders inspection and copying of the records demanded, the court shall also order the corporation to pay the shareholder's costs, including reasonable counsel fees, incurred to obtain the order unless the corporation proves that it refused inspection in good faith because it had a reasonable basis for doubt about the right of the shareholder to inspect the records demanded.
If the court orders inspection and copying of the records demanded, the court may impose reasonable restrictions on the use or distribution of the records by the demanding shareholder.
SDCL 47-1A-1604.2