Text this: Enhancing Energy Efficiency by Improving Internet of Things Devices Security in Intelligent Buildings via Niche Genetic Algorithm-Based Control Technology.