Restriction on use of information.
The use of information obtained under sub. (4) or (5) is restricted to the discharge of duties imposed upon the persons by law or by the duties of their office or by order of a court as provided under sub. (4) (f) or (v).