(abridged) Search for planets around main-sequence (MS) stars more massive than the Sun is hindered by their hot and rapidly spinning atmospheres. This obstacle has been sidestepped by radial-velocity surveys of those stars on their post-MS evolutionary track (G sub-giant and giant stars). Preliminary observational findings suggest a deficiency of short-period hot Jupiters around the observed post MS stars, although the total fraction of them with known planets appears to increase with their mass. Here we consider the possibility that some very close- in gas giants or a population of rocky planets may have either undergone orbital decay or been engulfed by the expanding envelope of their intermediate-mass host stars. If such events occur during or shortly after those stars main sequence evolution when their convection zone remains relatively shallow, their surface metallicity can be significantly enhanced by the consumption of one or more gas giants. We show that stars with enriched veneer and lower-metallicity interior follow slightly modified evolution tracks as those with the same high surface and interior metallicity. As an example, we consider HD149026, a marginal post MS 1.3 Msun star. We suggest that its observed high (nearly twice solar) metallicity may be confined to the surface layer as a consequence of pollution by the accretion of either a planet similar to its known 2.7-day-period Saturn-mass planet, which has a 70 Mearth compact core, or a population of smaller mass planets with a comparable total amount of heavy elements. It is shown that an enhancement in surface metallicity leads to a reduction in effective temperature, in increase in radius and a net decrease in luminosity. The effects of such an enhancement are not negligible in the determinations of the planets radius based on the transit light curves.