A Degree Based Approximation of an SIR Model with Contact Tracing and Isolation