Controlling Vortex Pinning and Dynamics of Nanostructured YBCO Thin Films Grown by Chemical Solution Deposition