The use of old passports among Tanzanians will come to an end in 24 months from now, the government has said.