(a) A party has the right to be represented by an attorney at any proceeding or hearing under this subtitle.

(b) A waiver of the right to be represented by an attorney prior to the proceeding or hearing is ineffective.