Is a cpr-certified person required to perform cpr on a heart failure/car accident victim?

Not sure of question. Any first responder operating in good faith is likely protected by good samaritan clauses as long as care is transferred to formally trained individuals who arrive soon thereafter. If you are asking if an individual who is trained should perform CPR if first on seen, that's a moral question, not a legal one. One would hope that any help is better than none would be the deciding factor to help.