(a) A credit union shall have a lien on the shares of any member and on the dividends payable thereon for and to the extent of any loan made to the member and of any dues and fines payable by the member.
(b) A credit union may, upon the resignation or expulsion of a member, cancel the shares of the member and apply the withdrawal value of the shares toward the liquidation of the member's indebtedness.