County officials reach tentative settlement of lawsuit