Any record or report which is made to the director pursuant to this article, or any contract required to be filed pursuant to this chapter, is confidential and shall not be divulged, except if necessary for the proper determination of any court proceeding or hearing before the director.