You may want to use some Rustoleum or similar before installing new deck piece. Depending on cost & is it worth it or not, take both pieces to welding shop, technical school, & see if they can repair worn out deck piece then you or they can prime & paint with several coats. Some Technical schools may perform this labor free & use it as a learning experience for their students.