The 10 speed portion is just the front chain ring, and I'm quite certain they are backwards compatible meaning you can run the 12 speed.
My advise, since your going to need a bike shop to install it I presume, is to take the bike into your LBS for assistance as there are a few things to consider and adjust. Let them order and install it for you.
A forum community dedicated to Mountain Bike owners and enthusiasts. Come join the discussion about bike parts, components, deals, performance, modifications, classifieds, trails, troubleshooting, maintenance, and more!