Optimized Ensemble Model Towards Secured Industrial IoT Devices