Dynamic Control of the Vortex Pinning Potential in a Superconductor Using Current Injection through Nanoscale Patterns