Unable to get the raytraceacceleration structure in a compute shader

I’m attempting to create a compute shader which uses raytracing to return the point where each ray hits a piece of geometry in the scene. However, I am having an issue where I am unable to pass the raytraceacceleration structure into the shader when it is run. I have done some research however, all of the examples I can find are out of date since 5.6 as RayTracingScene→GetLayerView needs two inputs now.

Any help is appreciated!