(a) Application of proceeds. A secured party shall apply or pay over for application the cash proceeds of disposition under section 9-610 in the following order to:
(1) The reasonable expenses of retaking, holding, preparing for disposition, processing and disposing, and, to the extent provided for by agreement and not prohibited by law, reasonable attorney's fees and legal expenses incurred by the secured party;