Will a 2011 front diff work in a 2009?

I’m building my own ATV using the drivetrain from a 2009 RZR 800. I have all the parts except for the front diff. I’m wondering if a 2011 RZR 800 front diff would work for my situation. Is the gear ratio the same? Will the splines be the same? I’m not at all concerned about a different outer housing or differences in the mounting brackets.

Thanks!