Revenue from the tax imposed under this chapter may be used only to build, operate, or maintain a landfill and a criminal detention center in the county.