Cofnod E-bost: Tuning magnetic properties for domain wall pinning via localized metal diffusion