A Cutting-Edge Deep Learning Method For Enhancing IoT Security