(2)Where any payment has been made to any employee of a company on account of wages or salary or accrued holiday remuneration, himself or, in the case of his death, to any other person claiming through him, out of money advanced by some person for that purpose, the person by whom the money was advanced shall, in a winding up, have a right of priority in respect of the money so advanced and paid-up to the amount by which the sum in respect of which the employee or other person in his right would have been entitled to priority in the winding up has been reduced by reason of the payment having been made.