Space-charge-limited current in nanowires depleted by oxygen adsorption