Measurements Of The K-Shell Opacity In Solid-Density Plasmas Heated By An X-Ray Free Electron Laser