An application to a court for an order requiring the commission or the executive director to release any information declared by law to be confidential shall be made only upon motion in writing on ten (10) days' written notice to the commission or the executive director, the Attorney General and all persons who may be affected by the entry of such order. Copies of the motion and all papers filed in support of it shall be served with the notice by delivering a copy in person or by certified mail to the last known address of the person to be served.