(a) If an assignee files or threatens to file an action to enforce any assignment of wages which does not comply with any provision of this subtitle, on petition of the assignor or his employer, a court of equity may enjoin the threatened or attempted enforcement of the assignment.
(b) The fact that a petitioner has a complete and adequate remedy at law does not constitute a defense to the maintenance of an action in equity to enjoin the threatened or attempted enforcement of the assignment.