Unveiling the spatially confined oxidation processes in reactive electrochemical membranes