If you refer to the small device implanted when Anakin was a slave, it was probably deactivated and removed before he became a padawan. And where was it stated it was in his head?
If they knew where it was, it could have been removed long before TPM, and Anakin could have led a revolt, which resulted in Watto being pushed into a pizza oven. ;)