or something similar to what CA has the Bureau of Automobile Repair (BAR) and find out what is avialable to you.
I know once just mentioning I was going to contact the CA BAR had a shop owner shaking in its boots.
Get familiar with location of the division of consumer fraud, BAR or whatever. Know the addresses, phone numbers, name and time of who you talked to.
This can be fraud in the sense the dealer owes you a reasonable level of skill, experience, and caution/care in servicing your vehicle. Among other things this means doing things right and not screwing up.
Don't go back in making threats. Stay calm. Polite. Just go back to the dealer and speak with the SM and probably at this stage the GM and mention that because the dealer is taking its sweet time you have contacted the division of consumder fraud/BAR/whatever. Generally the consumer fraud division rep will advise you to try to work out an acceptable solution with the in this case the dealer. Indicate this is what you are trying to do.
If the SM says it has to contact the factory try to pin it down to when. IOWs, try to get times/dates as to when the dealer will have made progress, accomplished something, If the dealer misses any of these call it out on this.
Don't make a threat just write a letter to the dealer addressed to the SM, cc the GM, cc PCNA, and both the division of consumer fraud and the BAR or whatever.
Briefly list the circumstances that resulted in your car engine being in the condition it is now and that you want this taken care of promptly at the dealer's expense or you will be forced to take further action. Note the dealer has failed to meet the deadlines you both agreed upon.
You have to show the dealer the stick, which in this case is the division of consumer fraud/BAR (or whatever). No dealer wants to go through this and because you are now going to keep PCNA informed with letters this provides additional incentive for the dealer to make you whole again.
You don't have to follow the above exactly. You want to follow a course that feels comfortable to you but it probably wants to include at least parts of the above. What you learn from talking to someone at the consumer fraud department and BAR/whatever will also help you know what to do.
Generally if the dealer starts to drag its feet it is hoping to wear you down so you get tired of the fight and you go away. So you need a stick to show the dealer. Phone calls after a point need to be followed with letters.