Electronic mechanism for resistive switching in metal/insulator/metal nanodevices. (19th May 2020)