Unfortunately, you may not be able to do this. Most remote controls only have the codes for devices released about 6 months before the remote was programmed. The KV-27FV300 manual has a copyright date of 2002. Thus its remote codes are for devices made in 2001 or earlier. The DV220MW9 was built around 2009; so a universal replacement remote is probably more likely to work.
To program the remote for the KV-27FV300, press Code Set (bottom left of the remote, below the volume +/- keys). Press the VCR/DVD function button. Press the number keys for the 3 digit code for the device manufacturer. Press Enter to save the code. Then test the code to see if it allows the remote to correctly control the VCR/DVD. The DV220MW9 has built by Funai with the Magnavox name plate. There are only Funai and Magnavox VCR codes in the TV manual. Funai: 338, Magnavox 308, 309, 310 .
The directions for programming the remote are in the KV-27FV300 manual. That manual is available on the support page:
https://www.sony.com/electronics/support/product/kv-27fv300/manuals . The current link to the manual is
https://www.sony.com/electronics/support/res/manuals/W000/W0006281M.pdf . See page 49 (page 56 of the PDF) for the procedure and the code list.
I hope this helps.
Cindy Wells