(2) Notwithstanding the provisions of ORS 34.320, an application for a writ of habeas corpus brought by or on behalf of a person who has been committed or placed in a youth correction facility which attacks the validity of the order of commitment shall be brought in the county in which the court that entered the order of commitment is located. [1993 c.33 §151; 1995 c.422 §73a]