"amounts, or(iii) any provision of provincial legislation that has a similar purpose to subsection 224(1.2) of the Income Tax Act, or that refers to that subsection, to the extent that it provides for the collection of a sum, and of any related interest, penalties or other amounts, where the sum(A) has been withheld or deducted by a person from a payment to another person and is in respect of a tax" . . . .