A straight board swap is extremely unlikely to work. This is because most modern HDDs store unique, drive specific "adaptive" information in a serial EEPROM chip. This chip, or its contents, needs to be transferred from patient to donor. In WD drives, this chip is usually located at U12.
The following PCB suppliers offer a firmware transfer service, either for free, or for US$10: http://www.donordrives.com http://www.onepcbsolution.com http://www.hdd-parts.com
I would advise that you avoid those suppliers who don't tell you that a board won't work without modification. Often they will attempt to obscure the requirement for a firmware transfer by deceptively describing their products as being "for data recovery only".
Alternatively, if you are not adept at soldering, your local TV/AV repair shop should be able to transfer the chip for you.
Some PCBs do not have a discrete serial flash memory chip. Instead they store the adaptive data inside the Marvell MCU (the largest chip). In this case you will need a "PCB adaptation" service.
The following PCB supplier includes such a service for free: http://www.donordrives.com/services