Harm is defined as cards not of the same alignment targeting each other, so Josiah's Covenant I believe would protect your heroes from having cards placed on them. However, Miraculous Handkerchiefs only suspends the effects of ongoing abilities that have a negative effect on your heroes, so I think you could still place the cards in that case, but the effects of the placed card would do nothing until Hankies is removed.