Dielectric barriers, pore sealing, and metallization