Localized defects in stochastic growth - slow bond in TASEP and polymer pinning