Localization under the effect of randomly distributed decoherence