On-device lead sequestration for perovskite solar cells