(1) A court shall order indigent defense services for a minor, parent, or legal guardian as provided by Title 78B, Chapter 22, Indigent Defense Act.
(2) In any action under Part 3, Abuse, Neglect, and Dependency Proceedings, or Part 5, Termination of Parental Rights Act, the child shall be represented by a guardian ad litem in accordance with Sections 78A-6-317 and 78A-6-902. The child shall also be represented by an attorney guardian ad litem in other actions initiated under this chapter when appointed by the court under Section 78A-6-902 or as otherwise provided by law.