The cybersecurity legislation failed to pass due to lobbying from industry groups concerned about costs for small localities.