How to use USRP2 code(not UHD) in USRP n210?

I had a code written for USRP2 hardware in GNU Radio (with usrp2 source
and sink blocks). Currently I have only USRPn210(UHD firmware)
available. How can I use that code? As the code is large modifying it is
difficult. Is there any other way?