You model identifier is either MacBookPro9,1 (15" screen) or MacBookPro9,2 (13" screen). The drive does work in your Mac as a replacement drive for the original internal drive. In other words, the drive can be found on the Kingston website for System Specific Memory for Apple MacBook Pro 15-inch (Mid 2012) and System Specific Memory for Apple MacBook Pro 13-inch (Mid 2012).
You are proposing replacing the ODD with this drive. However, this could lead to disappointing performance from the SSD. The maximum link speed between the ODD and logic board may be limited to 3 Gb/sec. While this would not affect using a HDD in place of the ODD, it would for a SSD which needs a 6 Gb/sec interface to maximum performance.
So, the typical scenario would be to replace the original HDD with a new SSD and replace the ODD with the original HDD. To put a HDD or SSD in the ODD bay, you would need an optical to SATA drive converter bracket such as the OWC Data Doubler. This website comes with the a warning which is repeated below.

You should be able to run Windows 10 from either the HDD or SSD. However, not all possible Windows configurations can be selected by using the Boot Camp Assistant. You may need to install Windows without the aid of the Boot Camp Assistant. This usually is not difficult to do if you have installed High Sierra or a later version of macOS. (This is because installing these newer versions of macOS means your firmware will have received and upgrade which makes Windows easier to install.)