Electrochemistry Under Confinement: Controlling Dynamics in Nanochannels via Tunable Mass Transport