Artificial Intelligence-Based Security Protocols to Resist Attacks in Internet of Things. (5th April 2022)