The most probable and most likely answer to this problem would be genetic engineering.
Since this talks about scientists having recently modified the bacteria that cause tooth decay by inserting a fragment of DNA into the bacteria's DNA that prevents it from producing lactic acid, it has now altered the genetic composition of the bacteria. Genetically engineering bacteria and viruses have their advantages and, of course, disadvantages, either direct ones or long term ones. Genetic engineering would prove that it would be one of the many weapons that we could use to counter problems in the coming future.