Enhancing System Resiliency For 5G And 5G Iot: A Plug-And-Play, Sim/Esim-Based Approach